<?php

namespace App\Models\Insure;

use App\Models\Model;

class InsureFile extends Model
{
    protected $table = 'akbus_insure_file';

    /**
     * 类型转化
     *
     * @var array
     */
    protected $casts = [
    ];

    protected $fillable = [
        'type',
        'file_name',
        'file_path',
        'file_type',
        'file_size',
        'user_id',
        'insure_id',
        'note',
    ];

    public function insure()
    {
        return $this->belongsTo('App\Models\Insure\Insure');
    }
}
